package com.macro.mall.mapper;

import com.macro.mall.model.ExExamResult;
import com.macro.mall.model.ExExamResultExample;
import com.macro.mall.model.ExExamResultView;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExExamResultMapper {
    long countByExample(ExExamResultExample example);

    int deleteByExample(ExExamResultExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ExExamResult record);

    int insertSelective(ExExamResult record);

    List<ExExamResult> selectByExample(ExExamResultExample example);

    ExExamResult selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ExExamResult record, @Param("example") ExExamResultExample example);

    int updateByExample(@Param("record") ExExamResult record, @Param("example") ExExamResultExample example);

    int updateByPrimaryKeySelective(ExExamResult record);

    int updateByPrimaryKey(ExExamResult record);

    List<Map<String,Object>>  getCertificateList(Map<String,Object> paramMap);

    List<Map<String,Object>>  selectExamResultList(Map<String,Object> paramMap);

    List<ExExamResultView>  exportExamResultList(Map<String,Object> paramMap);
}